package com.genius.smsweb.majormanage;

import com.genius.smsbase.Controller.GenericController;
import com.genius.smsdao.majormanage.domain.Academy;
import com.genius.smsservice.majormanage.service.AcademyManager;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "专业管理-学院", description = "AcademyController")
@RestController
@RequestMapping("academy")
public class AcademyController extends GenericController<Academy,Long, AcademyManager> {

    AcademyManager academyManager;

    /**
     *
     * @param academyManager
     */
    @Autowired
    public void setAcademyManager(AcademyManager academyManager) {
        this.academyManager = academyManager;
        this.manager = this.academyManager;
    }
}
